package in.srain.cube.views.loadmore;

/** 加载更多的UI */
public interface LoadMoreUIHandler {

    /** 正在加载中 */
    public void onLoading(LoadMoreContainer container);

    /** 加载完成 */
    public void onLoadFinish(LoadMoreContainer container, boolean empty, boolean hasMore);

    /** 点击加载更多 */
    public void onWaitToLoadMore(LoadMoreContainer container);

    /** 加载更多失败 */
    public void onLoadError(LoadMoreContainer container, int errorCode, String errorMessage);
}
